"""
@-*- coding: utf-8 -*-
@ python: 3.12.3
@ 创建者: JacksonCode
@ 创建时间: 2025/6/16
"""

from hashlib import md5

obj = md5()
obj.update("123456".encode('utf-8'))

ret = obj.hexdigest()
print(ret)   # e10adc3949ba59abbe56e057f20f883e
